package com.pengweiwei.androidzygote.video;

import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import android.util.Log;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;

import com.pengweiwei.androidzygote.R;
import com.pengweiwei.androidzygote.mine.CollectionListActivity;
import com.putong35.common.baseactfrag.activity.BaseActivity;


public class VideoDetailActivity extends BaseActivity {

    public static final String TAG = "VideoDetailActivity";
    public static void start(Context context, String id) {
        Intent starter = new Intent(context, VideoDetailActivity.class);
        starter.putExtra("id", id);
        context.startActivity(starter);
    }

    private String mId = "";

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        mId = getIntent().getStringExtra("id");
        Log.d(TAG, "onCreate: " + mId);

    }

    @Override
    public View createDataView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {
        View view = inflater.inflate(R.layout.activity_video_detail, null);
//        ListViewWithHeaderAndFooterFragment listFrag = new ListViewWithHeaderAndFooterFragment();
//        getSupportFragmentManager().beginTransaction().replace(R.id.lytMain, listFrag).commit();
        return view;
    }
}
